package com.air.ota.mo;


/**
 * 卡开通交易表
 * @author Marco
 *
 */
public class RegTrans {
	
	private Integer id;
	private String  deviceSequence;//设备交易序列号
	private String  sztId;
	private String  cellphone;
	private long    transDate;
	private String  regSequence;
	private Integer result;
	
	private String  cardAppSequence;
	private String  cardRandom;
	private String  lastTransData;
	private String  cardDeposit;
	private String  cardRemain;
	private String  cardSumDeposit;
	private String  cardType;
	private String  cardEffectTime;
	private String  cardExpireTime;
	private String  outerAuthCode;
	
	private String  deviceTriggerTime;
	private String  sztTriggerTime;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getSztId() {
		return sztId;
	}
	public void setSztId(String sztId) {
		this.sztId = sztId;
	}
	public String getCellphone() {
		return cellphone;
	}
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}
	public long getTransDate() {
		return transDate;
	}
	public void setTransDate(long transDate) {
		this.transDate = transDate;
	}
	public String getRegSequence() {
		return regSequence;
	}
	public void setRegSequence(String regSequence) {
		this.regSequence = regSequence;
	}
	public Integer getResult() {
		return result;
	}
	public void setResult(Integer result) {
		this.result = result;
	}
	public String getCardAppSequence() {
		return cardAppSequence;
	}
	public void setCardAppSequence(String cardAppSequence) {
		this.cardAppSequence = cardAppSequence;
	}
	public String getCardRandom() {
		return cardRandom;
	}
	public void setCardRandom(String cardRandom) {
		this.cardRandom = cardRandom;
	}
	public String getLastTransData() {
		return lastTransData;
	}
	public void setLastTransData(String lastTransData) {
		this.lastTransData = lastTransData;
	}
	public String getCardDeposit() {
		return cardDeposit;
	}
	public void setCardDeposit(String cardDeposit) {
		this.cardDeposit = cardDeposit;
	}
	public String getCardRemain() {
		return cardRemain;
	}
	public void setCardRemain(String cardRemain) {
		this.cardRemain = cardRemain;
	}
	public String getCardSumDeposit() {
		return cardSumDeposit;
	}
	public void setCardSumDeposit(String cardSumDeposit) {
		this.cardSumDeposit = cardSumDeposit;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	public String getCardEffectTime() {
		return cardEffectTime;
	}
	public void setCardEffectTime(String cardEffectTime) {
		this.cardEffectTime = cardEffectTime;
	}
	public String getCardExpireTime() {
		return cardExpireTime;
	}
	public void setCardExpireTime(String cardExpireTime) {
		this.cardExpireTime = cardExpireTime;
	}
	public String getOuterAuthCode() {
		return outerAuthCode;
	}
	public void setOuterAuthCode(String outerAuthCode) {
		this.outerAuthCode = outerAuthCode;
	}
	public String getDeviceSequence() {
		int fillLength = 8- Integer.toHexString(this.getId()).length();
		String hexString="";
		for(int i=0;i<fillLength;i++){
			hexString += "0";
		}
		hexString +=Integer.toHexString(this.getId());
		
		return hexString;
	}
	public String getDeviceTriggerTime() {
		return deviceTriggerTime;
	}
	public void setDeviceTriggerTime(String deviceTriggerTime) {
		this.deviceTriggerTime = deviceTriggerTime;
	}
	public String getSztTriggerTime() {
		return sztTriggerTime;
	}
	public void setSztTriggerTime(String sztTriggerTime) {
		this.sztTriggerTime = sztTriggerTime;
	}
	
	
	
	
}
